/*
 * Copyright 2010 bedatadriven
 *
 *    Licensed under the Apache License, Version 2.0 (the "License");
 *    you may not use this file except in compliance with the License.
 *    You may obtain a copy of the License at
 *
 *        http://www.apache.org/licenses/LICENSE-2.0
 *
 *    Unless required by applicable law or agreed to in writing, software
 *    distributed under the License is distributed on an "AS IS" BASIS,
 *    WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *    See the License for the specific language governing permissions and
 *    limitations under the License.
 */

/**
 * JacobGen generated file --- do not edit
 *
 * (http://www.bigatti.it/projects/jacobgen)
 */
package com.bedatadriven.mso.powerpoint;

import com.bedatadriven.mso.core.MsoTriState;
import com.google.gwt.core.client.JavaScriptObject;

/** Wrapper for PowerPoint.View*/
public class View extends JavaScriptObject {

	protected View() { }
	public native final PpApplication getApplication()/*-{
		return this.Application;
	}-*/;

	public native final Object getParent()/*-{
		return this.Parent;
	}-*/;

	public native final int getType()/*-{
		return this.Type;
	}-*/;

	public native final int getZoom()/*-{
		return this.Zoom;
	}-*/;

	public native final void setZoom(int value)/*-{
		this.Zoom = value;
	}-*/;

	public native final void paste()/*-{
		this.Paste( );
	}-*/;

	public native final Object getSlide()/*-{
		return this.Slide;
	}-*/;

	public native final void setSlide(Object value)/*-{
		this.Slide = value;
	}-*/;

	public native final void gotoSlide(int index)/*-{
		this.GotoSlide( index);
	}-*/;

	protected native final int _getDisplaySlideMiniature()/*-{
		return this.DisplaySlideMiniature;
	}-*/;

	public final MsoTriState getDisplaySlideMiniature(){
		return MsoTriState.valueOf(_getDisplaySlideMiniature());
	}
	protected native final void _setDisplaySlideMiniature( int value)/*-{
		this.DisplaySlideMiniature = value;
	}-*/;

	public final void setDisplaySlideMiniature(MsoTriState value){
		_setDisplaySlideMiniature(value.getValue());
	}
	protected native final int _getZoomToFit()/*-{
		return this.ZoomToFit;
	}-*/;

	public final MsoTriState getZoomToFit(){
		return MsoTriState.valueOf(_getZoomToFit());
	}
	protected native final void _setZoomToFit( int value)/*-{
		this.ZoomToFit = value;
	}-*/;

	public final void setZoomToFit(MsoTriState value){
		_setZoomToFit(value.getValue());
	}
	protected native final void _pasteSpecial(int dataType,  int displayAsIcon, String iconFileName, int iconIndex, String iconLabel,  int link)/*-{
		this.PasteSpecial( dataType, displayAsIcon, iconFileName, iconIndex, iconLabel, link);
	}-*/;

	public final void pasteSpecial(int dataType, MsoTriState displayAsIcon, String iconFileName, int iconIndex, String iconLabel, MsoTriState link){
		_pasteSpecial(dataType, displayAsIcon.getValue(), iconFileName, iconIndex, iconLabel, link.getValue());
	}
	public native final PrintOptions getPrintOptions()/*-{
		return this.PrintOptions;
	}-*/;

	protected native final void _printOut(int from, int to, String printToFile, int copies,  int collate)/*-{
		this.PrintOut( from, to, printToFile, copies, collate);
	}-*/;

	public final void printOut(int from, int to, String printToFile, int copies, MsoTriState collate){
		_printOut(from, to, printToFile, copies, collate.getValue());
	}
}
